Visual Basic (Declaration) | |
---|---|
Public Overridable Function GetEnumerator() As IEnumerator(Of KeyValuePair(Of TKey, TValue)) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator() |
C++/CLI | |
---|---|
public: virtual IEnumerator<KeyValuePair<TKey, TValue>>^ GetEnumerator(); |
Return Value
A Generic IEnumerator that can be used to iterate through the collection.Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family